import java.awt.*;
import javax.swing.*;
	public class ThreeImage extends ImageIcon
	{
		Image img1;
		Image img2;
		Image img3;
		protected void paintComponent(Graphics g) {
//			super.paintComponent(g);

			

    	}
    	public ThreeImage(ImageIcon imgOne, ImageIcon imgTwo, ImageIcon imgThree)
    	{
    		img1=imgOne.getImage();
    		img2=imgTwo.getImage();
    		img3=imgThree.getImage();
    		//.getImage;
    	}
        public ThreeImage(Image imgOne, Image imgTwo, Image imgThree)
    	{
    		img1=imgOne;
    		img2=imgTwo;
    		img3=imgThree;
    		//.getImage;
    	}
        public void changeImg1(ImageIcon change)
        {
            img1=change.getImage();
        }
        public void changeImg2(ImageIcon change)
        {
            img2=change.getImage();
        }
        public void changeImg3(ImageIcon change)
        {
            img3=change.getImage();
        }
        
 }
